package com.hanxiaozhang;

import com.hanxiaozhang.config.GeneratorProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@EnableFeignClients
@SpringBootApplication
@EnableGlobalMethodSecurity(prePostEnabled = true)
@EnableConfigurationProperties(value={GeneratorProperties.class})
public class HanxiaozhangBaseApplication9092 {

    public static void main(String[] args) {
        SpringApplication.run(HanxiaozhangBaseApplication9092.class, args);
        System.out.println(" ==========================>      START UP SUCCESS      <==========================\n" +
                " _    _                 __  __  _                 _____ _                        \n" +
                "| |  | |  ___     ____  \\ \\/ / |_|  ___     ___  |__  /| |     ___     ____   ____   \n" +
                "| |__| |/ __  \\ /  __  \\ \\/ /  / \\/ __  \\ /  _  \\  / / | |__ / __  \\ /  __  \\/ __  \\ \n" +
                "|  __  | |  | | | /  \\ | / / \\ | | |  | | | / \\ | / /  | |__ \\|  | | | /  \\ | /  \\ | \n" +
                "| |  | | |__|  \\| |  | |/ / \\ \\| | |__|  \\| \\_/ |/ /___| |  | |__|  \\| |  | |_\\__/ |\n" +
                "|_|  |_|____ /\\_\\_|  |_|_/   \\_\\_|____ /\\_\\_____/______|_|  |_|___/\\_\\_|  |_|  __| | \n" +
                "                                                                              /____| ");
    }

}
